﻿using FictionsDownload.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FictionsDownload.Enums;

namespace FictionsDownload.Events
{
    public delegate void AddMessageEventHandler(object sender, AddMessageEventArgs e);
    public class AddMessageEventArgs : EventArgs
    {
        public string Text { get; set; }
        public MessageTypeEnum Type { get; set; }
        public AddMessageEventArgs(MessageTypeEnum type, string txt)
        {
            Text = txt;
            Type = type;
        }
    }
}
